package com.tedu.jsd2407_ivos_fzj.geofence.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tedu.jsd2407_ivos_fzj.vehicle.pojo.entity.Vehicle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class GeofenceVO {
    @ApiModelProperty(value = "电子围栏编号")
    private Long id;
    @ApiModelProperty(value="电子围栏名称")
    private String name;
    @ApiModelProperty(value="电子围栏状态")
    private String status;
    @ApiModelProperty(value="电子围栏位置数据")
    private String position;

    @ApiModelProperty(value="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

    private Date createTime;

    /*分配车辆时使用：车辆总数、可用车辆数、车辆列表*/
    private Integer totalNum;
    private Integer availableNum;
    private List<Vehicle> vehicleList;

}
